NAME		=		Gomoku

SRC		=		main.cpp	\
				Graphics.cpp	\
				Square.cpp	\
				Map.cpp		\

OBJ		=		$(SRC:.cpp=.o)

INC		=		-lsfml-graphics -lsfml-window -lsfml-system

ECHO		=		echo -e

all		:		$(NAME)

$(NAME)		:		$(OBJ)
				g++ $(OBJ) -o $(NAME) $(INC)
				@$(ECHO) '\033[0;32m> Gomoku Compiled\033[0m'

clean		:		
				rm -f $(OBJ)
				@$(ECHO) '\033[0;36m> Object files removed\033[0m'

fclean		:		clean
				rm -f $(NAME)
				@$(ECHO) '\033[0;36m> Binary files removed\033[0m'

re		:		fclean all 